package bs.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * UserBook
 *
 * @author 姜治昊
 * @time 2017年12月5日 上午8:58:47
 */
public class UserBook implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer userBookId;
	
	private Integer bookId;
	
	private Integer userId;
	
	private Date buyTime;
	
	private String buyAddr;
	
	private String buyInfo;
	
	private String hasRead;
	
	private Date finishTime;

	public Integer getUserBookId() {
		return userBookId;
	}

	public void setUserBookId(Integer userBookId) {
		this.userBookId = userBookId;
	}

	public Integer getBookId() {
		return bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Date getBuyTime() {
		return buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public String getBuyAddr() {
		return buyAddr;
	}

	public void setBuyAddr(String buyAddr) {
		this.buyAddr = buyAddr;
	}

	public String getBuyInfo() {
		return buyInfo;
	}

	public void setBuyInfo(String buyInfo) {
		this.buyInfo = buyInfo;
	}

	public String getHasRead() {
		return hasRead;
	}

	public void setHasRead(String hasRead) {
		this.hasRead = hasRead;
	}

	public Date getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}
	public UserBook() {}

	public UserBook(Integer userBookId, Integer bookId, Integer userId,
			Date buyTime, String buyAddr, String buyInfo, String hasRead,
			Date finishTime) {
		super();
		this.userBookId = userBookId;
		this.bookId = bookId;
		this.userId = userId;
		this.buyTime = buyTime;
		this.buyAddr = buyAddr;
		this.buyInfo = buyInfo;
		this.hasRead = hasRead;
		this.finishTime = finishTime;
	}
	
}
